public class coun {
 
     public Boolean hide = false;
     public Boolean hide1 = false;
     public Boolean hide2 = false;
     
     public void setMhide(Boolean b) {
     this.hide = b;
     }
     
     public Boolean getMhide() {
     return this.hide;
     }//Passing input dynamically through another method
     
     
     public Boolean getM1hide() {
         return this.hide2;
     }
     
     public void setM1hide(Boolean b) {
       this.hide2 = b;  
     }
     
     
     public Boolean getM2hide() {
         return this.hide1;
     }
     
     public void setM2hide(Boolean b) {
         this.hide1 = b;
     }
     
     
    public PageReference india() {
        setMhide(true);
        setM2hide(false);
        setM1hide(false);        
        return null;
    }//displaying only india information and hiding other information
     
      public PageReference us() {
         setM1hide(true);
         setM2hide(false);
         setMhide(false);
         return null;
     }
     
     public PageReference uk() {
         setM2hide(true);
         setM1hide(false);
         setMhide(false);
         return null;
     }   
     
 }